/* CSS Variables for easy theming */
:root {
    --primary-color: #0a9396;
    --secondary-color: #005f73;
    --accent-color: #ee9b00;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --dark-color: #001219;
    --text-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  /* Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Header Styles */
  header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
  }
  
  .clinic-title h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
  }
  
  nav {
    display: flex;
    gap: 20px;
  }
  
  nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
  }
  
  nav a:hover {
    color: var(--primary-color);
  }
  
  nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('dental-implants.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .hero-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
  }
  
  .hero-button:hover {
    background-color: transparent;
    color: var(--accent-color);
  }
  
  /* Content Sections */
  .content-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
  }
  
  .content-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
  }
  
  .content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
  }
  
  .content-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
  }
  
  /* Benefits Section */
  .benefits {
    background-color: var(--white);
    padding: 80px 20px;
  }
  
  .benefits-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }
  
  .benefit-card {
    background-color: var(--light-gray);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  /* Gallery Section */
  .gallery-section {
    padding: 80px 20px;
    background-color: var(--white);
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
  }
  
  .gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .gallery-item img {
    width: 100%;
    height: 220px; /* Fixed height for uniform appearance */
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item:hover img {
    transform: scale(1.03);
  }
  
  /* Optional caption style */
  .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover .gallery-caption {
    transform: translateY(0);
  }
  /* Procedure Section */
  .procedure-section {
    padding: 80px 20px;
    background-color: var(--light-gray);
  }
  
  .procedure-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }
  
  .step {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
  }
  
  .step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
  }
  
  .cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 30px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
  }
  
  .cta-button:hover {
    background-color: transparent;
    color: var(--accent-color);
  }
  
  /* Footer */
  footer {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--accent-color);
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
  }
  
  .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
  }
  
  .developer-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .developer-credit strong {
    color: var(--accent-color);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      gap: 15px;
    }
    
    nav {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .hero-content h1 {
      font-size: 2.2rem;
    }
    
    .content-section h2 {
      font-size: 2rem;
    }
    
    .benefits-grid,
    .procedure-steps {
      grid-template-columns: 1fr;
    }
  }